package com.cyj.spring.springframeword.beans.factory;

import com.cyj.spring.springframeword.beans.BeansException;

/**
 * @Description: bean工厂
 * @BelongsProject: small-spring
 * @BelongsPackage: com.cyj.spring.springframeword.beans.factory
 * @Author: ChenYongJia
 * @CreateTime: 2021-07-26 14:32
 * @Email: chen87647213@163.com
 * @Version: 1.0
 */
public interface BeanFactory {

    /**
     * 获取bean
     *
     * @param name bean名称
     * @return java.lang.Object
     * @date 2021/7/26 14:32
     * @author ChenYongJia
     * @version 1.0
     */
    Object getBean(String name) throws BeansException;

}
